package com.yang.factory.abstractfactory;

import com.yang.beans.Shape;
import com.yang.beans.Square;

/**
 * 方形工厂
 * @author yang
 * @version 0.1
 * @date 2019/4/15
 */
public class SquareFactory implements IFactory {

    @Override
    public Shape getShape() {
        return new Square();
    }
}
